<template>
	<tui-numberbox v-bind="$attrs" :value="modelValue" @change="change"></tui-numberbox>
</template>

<script lang="ts" setup>
	const emit = defineEmits(['change', 'update:modelValue'])

	defineProps<{
		modelValue : number
	}>()

	const change = (e : any) => {
		emit('change', e.value)
		emit('update:modelValue', e.value)
	}
</script>

<style>
</style>